<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="HandheldFriendly" content="true" />
		<meta name="MobileOptimized" content="320" />
		<title>图片预览</title>
		<link rel="stylesheet" href="../../css/mui.css" type="text/css" charset="utf-8" />
		<style type="text/css">
			#bcid {
				width: 100%;
				position: absolute;
				top: 46px;
				bottom: 44px;
				text-align: center;
			}
			
			.tip {

			}
			
			footer {
				width: 100%;
				height: 44px;
				position: absolute;
				bottom: 0px;
				line-height: 44px;
				text-align: center;
				color: #FFF;
			}
			
			.fbt {
				width: 50%;
				height: 100%;
				background-color: #FFCC33;
				float: left;
			}
			
			.fbt:active {
				-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5);
				box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5);
			}
		</style>
	</head>

	<body >
		<header class="mui-bar mui-bar-nav" style="background-color: #fff;">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #0abb07;"></a>
			<h1 class="mui-title" id="page-title" >
                图片预览
			</h1>
		</header>
		<div  id="app">
			<div style="margin-top: 45px;">
                <img style="height: 100%;width: 100%" :src="imgUrl" alt="">
            </div>
		</div>

	</body>
    <script type="text/javascript" src="../../js/mui.js"></script>
    <script type="text/javascript" src="../../js/vue.min.js"></script>
    <script src="../../js/common.js"></script>
	<script type="text/javascript">
        mui.init({});
        mui.plusReady(function() {
            var webUrl = plus.webview.currentWebview().url;
            console.log(webUrl);
            vm.imgUrl =webUrl;

        });


        var vm = new Vue({
            el:'#app',
            data:{
                imgUrl:'xxx'
            }
        });
	</script>

</html>